<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/4/15
  Time: 14:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>menu-菜单页</title>
    <style>
        /*id选择器*/
        #ul li{
            /*list-style-type:设置列表项前面的标记类型*/
            list-style-type: none;
        }

        a:hover{
            /*文本修饰:添加下划线/删除下划线*/
            text-decoration:  none;
            color: deepskyblue;
        }
    </style>
    <link href="${pageContext.request.contextPath}/css/bootstrap.min.css"  rel="stylesheet"/>
    <script src="${pageContext.request.contextPath}/js/jquery-3.4.1.min.js"></script>
    <script src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
</head>
<body>
<%--<ul id="ul">
    <li>

        <!--打开资源文件的方式在指定farme打开,target指定为当前frame框架标签的名称-->
        <a href="${pageContext.request.contextPath}/getAllUser" target="main">查询所用用户</a>
    </li>

</ul>--%>

<%--按钮下拉菜单--%>
<div class="btn-group">
    <button type="button" class="btn btn-default dropdown-toggle"
            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        用户管理 <span class="caret"></span>
    </button>
    <ul class="dropdown-menu">
        <%--
                地址栏可以带上参数:当前页码以及每页显示的条数
        --%>
        <li><a href="${pageContext.request.contextPath}/user?methodName=getAllUser&curPage=1&pSize=4" target="main" class="btn btn-primary">查询所有用户</a></li>
        <!--  <li><a href="#">Another action</a></li>
          <li><a href="#">Something else here</a></li>
          <li role="separator" class="divider"></li>
          <li><a href="#">Separated link</a></li>-->
    </ul>
</div>
</body>
</html>
